import React, { memo } from 'react'
import { HeaderCenterWrapper } from './style'
import IconSearchBar from '@/assets/svg/icon_search-bar'

const HeaderCenter = memo(() => {
  return (
    <HeaderCenterWrapper>
      <div className="search">
        <div className="text">搜索房源和体验</div>
        <span className='icon'><IconSearchBar/></span>
      </div>
    </HeaderCenterWrapper>
  )
})

export default HeaderCenter